package com.xuetang9.t9.xinhuaxia.beans;

import javax.persistence.*;

@Table(name = "pay_information")
public class PayInformation {
    /**
     * 编号
     */
    @Id
    @Column(name = "pi_id")
    private Long piId;

    /**
     * 订单编号id
     */
    @Column(name = "pi_orderId")
    private Long piOrderid;

    /**
     * 支付方式
     */
    @Column(name = "pi_payWay")
    private Integer piPayway;

    /**
     * 商品总金额
     */
    @Column(name = "pi_totalPay")
    private Double piTotalpay;

    /**
     * 实际支付
     */
    @Column(name = "pi_actualPay")
    private Double piActualpay;

    /**
     * 优惠金额
     */
    @Column(name = "pi_discounts")
    private Double piDiscounts;

    /**
     * 获取编号
     *
     * @return pi_id - 编号
     */
    public Long getPiId() {
        return piId;
    }

    /**
     * 设置编号
     *
     * @param piId 编号
     */
    public void setPiId(Long piId) {
        this.piId = piId;
    }

    /**
     * 获取订单编号id
     *
     * @return pi_orderId - 订单编号id
     */
    public Long getPiOrderid() {
        return piOrderid;
    }

    /**
     * 设置订单编号id
     *
     * @param piOrderid 订单编号id
     */
    public void setPiOrderid(Long piOrderid) {
        this.piOrderid = piOrderid;
    }

    /**
     * 获取支付方式
     *
     * @return pi_payWay - 支付方式
     */
    public Integer getPiPayway() {
        return piPayway;
    }

    /**
     * 设置支付方式
     *
     * @param piPayway 支付方式
     */
    public void setPiPayway(Integer piPayway) {
        this.piPayway = piPayway;
    }

    /**
     * 获取商品总金额
     *
     * @return pi_totalPay - 商品总金额
     */
    public Double getPiTotalpay() {
        return piTotalpay;
    }

    /**
     * 设置商品总金额
     *
     * @param piTotalpay 商品总金额
     */
    public void setPiTotalpay(Double piTotalpay) {
        this.piTotalpay = piTotalpay;
    }

    /**
     * 获取实际支付
     *
     * @return pi_actualPay - 实际支付
     */
    public Double getPiActualpay() {
        return piActualpay;
    }

    /**
     * 设置实际支付
     *
     * @param piActualpay 实际支付
     */
    public void setPiActualpay(Double piActualpay) {
        this.piActualpay = piActualpay;
    }

    /**
     * 获取优惠金额
     *
     * @return pi_discounts - 优惠金额
     */
    public Double getPiDiscounts() {
        return piDiscounts;
    }

    /**
     * 设置优惠金额
     *
     * @param piDiscounts 优惠金额
     */
    public void setPiDiscounts(Double piDiscounts) {
        this.piDiscounts = piDiscounts;
    }
}